package com.krtech.wecard.module.pub.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 卡信息表
 */
@ApiModel(value = "com-krtech-wecard-module-pub-entity-CardInfo")
@Data
@TableName(value = "pub_card_info")
public class CardInfo implements Serializable {
    public static final String COL_IDENTTITY_LIST = "identity_str";
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 创建人
     */
    @TableField(value = "CREATED_BY")
    @ApiModelProperty(value = "创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATED_TIME")
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATED_BY")
    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATED_TIME")
    @ApiModelProperty(value = "更新时间")
    private Date updatedTime;

    /**
     * 卡标题
     */
    @TableField(value = "card_name")
    @ApiModelProperty(value = "卡标题")
    private String cardName;

    /**
     * 卡副标题
     */
    @TableField(value = "card_vice_name")
    @ApiModelProperty(value = "卡副标题")
    private String cardViceName;

    /**
     * log图片
     */
    @TableField(value = "log_url")
    @ApiModelProperty(value = "log图片")
    private String logUrl;

    /**
     * 封面url
     */
    @TableField(value = "cover_url")
    @ApiModelProperty(value = "封面url")
    private String coverUrl;

    /**
     * 冗余身份 (冗余)
     */
    @TableField(value = "identity_str")
    @ApiModelProperty(value = "冗余身份 (冗余)")
    private String identityStr;

    /**
     * 软删除
     */
    @TableField(value = "del_flag")
    @ApiModelProperty(value = "软删除")
    private Integer delFlag;

    /**
     * 电子码标题
     */
    @TableField(value = "electronic_code_title")
    @ApiModelProperty(value = "电子码标题")
    private String electronicCodeTitle;

    /**
     * 电子码log
     */
    @TableField(value = "electronic_log")
    @ApiModelProperty(value = "电子码log")
    private String electronicLog;

    /**
     * 是否展示电子码:0-不展示,1-展示
     */
    @TableField(value = "electronic_show")
    @ApiModelProperty(value = "是否展示电子码:0-不展示,1-展示")
    private Integer electronicShow;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_CREATED_BY = "CREATED_BY";

    public static final String COL_CREATED_TIME = "CREATED_TIME";

    public static final String COL_UPDATED_BY = "UPDATED_BY";

    public static final String COL_UPDATED_TIME = "UPDATED_TIME";

    public static final String COL_CARD_NAME = "card_name";

    public static final String COL_CARD_VICE_NAME = "card_vice_name";

    public static final String COL_LOG_URL = "log_url";

    public static final String COL_COVER_URL = "cover_url";

    public static final String COL_IDENTITY_STR = "identity_str";

    public static final String COL_DEL_FLAG = "del_flag";

    public static final String COL_ELECTRONIC_CODE_TITLE = "electronic_code_title";

    public static final String COL_ELECTRONIC_LOG = "electronic_log";

    public static final String COL_ELECTRONIC_SHOW = "electronic_show";
}